var express = require('express');
var BlogRouter = express.Router();
var BlogController = require('../controllers/BlogController.js')
BlogRouter.get('/blogApi/getUserInfo', /**读取controller */ BlogController.getUserInfo)
BlogRouter.post('/blogApi/setMessage', /**读取controller */ BlogController.setMessage)
BlogRouter.get('/blogApi/setMessage', /**读取controller */ BlogController.getMessage)
BlogRouter.get('/blogApi/getProject', /**读取controller */ BlogController.getProject)
BlogRouter.get('/blogApi/getLocationInfo', /**读取controller */ BlogController.getLocationInfo)
// RightRouter.put('/adminapi/rights', RightController.updataList)
// RightRouter.delete('/adminapi/rights', RightController.deleteList)
// RightRouter.delete('/adminapi/rights/:id', )
// RightRouter.post('/adminapi/rights', )
module.exports = BlogRouter;